#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<cstdio>
#include<cmath>

using namespace std;

int main()
{
    double a, b, c, g, h, R1, R2;
    cin >> a >> b >> c;
    g = pow(b, 2) - 4 * a * c;
    h = sqrt(g);
    if (g < 0 || a == 0)
        printf("Impossivel calcular\n");
    else
    {
        R1 = (-b - h) / (2 * a);
        R2 = (-b + h) / (2 * a);
        printf("R1 = %.5lf\n", R1);
        printf("R2 = %.5lf\n", R2);
    }
    return 0;
}

